// =====================================================
// UILabel class
// =====================================================
// Inheritance
UILabel.InheritsFrom(UISimpleControl);

function UILabel()
{
    // Methods
    this.Construct = Construct;

    // Method definitions
    function Construct(id, pos, params)
    {
        // set HTML tag used for this control
        this.SetTag("uilabel");

        // call parent constructor
        parent = Object.getPrototypeOf(this);
        parent.Construct(id, pos);

        // redefine/add more properties
		this.SetProperty("Size",        new Size("200px", "40px"));
        this.SetProperty("Border",      new Border("", "", ""));

        this.AddProperty("Text",        id,     Binder.DefaultHtmlBinder("textContent"));
		this.AddProperty("Font", 		new Font("Arial", "16px", "Black", "Center", "Normal", 400), 	Binder.FontBinder);
       
    }
}